﻿<?php
class GroupShowWidget extends CWidget{
	public $groups;
	
		public function init(){
				$this->groups=Group::model()->findAll();
			}
			
		public function run(){
				$this->render('GroupShowWidget');
			}
			
		public function getData(){
				return $this->groups;
			}
}
?>